package com.Daisy.swi.client.model;

import com.Daisy.swi.client.Data.Book;

public class BookToEdit extends DataModel {
	private Book book;
	private static BookToEdit thisRef;

	private BookToEdit() {
	}

	public static BookToEdit getInstance() {
		return (thisRef == null) ? (thisRef = new BookToEdit()) : thisRef;
	}

	public void setBook(Book book) {
		this.book = book;
		updateData();
	}

	public Book getBook() {
		return this.book;
	}
}
